$OpenBSD: patch-backend_Makefile_in,v 1.10 2017/05/23 13:00:46 ajacoutot Exp $
Index: backend/Makefile.in
--- backend/Makefile.in.orig
+++ backend/Makefile.in
@@ -1947,7 +1947,7 @@ top_srcdir = @top_srcdir@
 # The -rpath option is added because we are creating _LTLIBRARIES based
 # on configure substitution.  This causes automake to not know the
 # correct $libdir and must be added here.
-DIST_SANELIBS_LDFLAGS = $(AM_LDFLAGS) -rpath '$(libdir)/sane' -version-number $(V_MAJOR):$(V_MINOR):$(V_REV) $(DYNAMIC_FLAG)
+DIST_SANELIBS_LDFLAGS = $(AM_LDFLAGS) -rpath '$(libdir)/sane' -avoid-version $(DYNAMIC_FLAG)
 DIST_LIBS_LDFLAGS = $(AM_LDFLAGS) -rpath '$(libdir)' -version-number $(V_MAJOR):$(V_MINOR):$(V_REV)
 FIRMWARE_DIRS = artec_eplus48u gt68xx snapscan epjitsu
 
